From: Florian Müllner Date: Fri, 18 Nov 2022 22:57:03 +0000 (+0100) Subject: overview: Don't block on wayland popovers X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~405^2^2~256 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=a4e2d708e5d1591a221e1d5ed88def6f94530655;p=gnome-shell.git overview: Don't block on wayland popovers We don't allow entering the overview when there's an ongoing grab operation, as they are generally incompatible with ClutterGrab. The exception are wayland popups which are expected to work, and don't conflict with ClutterGrabs. https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/6092 Part-of: --- diff --git a/js/ui/overview.js b/js/ui/overview.js index 86e02a844..192cddffa 100644 --- a/js/ui/overview.js +++ b/js/ui/overview.js @@ -450,7 +450,8 @@ var Overview = class extends Signals.EventEmitter { if (this._shown) { let shouldBeModal = !this._inXdndDrag; if (shouldBeModal && !this._modal) { - if (global.display.get_grab_op() !== Meta.GrabOp.NONE) { + if (global.display.get_grab_op() !== Meta.GrabOp.NONE && + global.display.get_grab_op() !== Meta.GrabOp.WAYLAND_POPUP) { this.hide(); return false; }